from flask import Flask,render_template,make_response

app = Flask(__name__)

@app.route("/hello",methods=["GET","POST"])
def hello():
    return render_template("index.html")

@app.route("/hi",methods=["GET","POST"])
def hi():
    return make_response("你好呀")

if __name__ == '__main__':
    app.run()